import React, { Suspense } from 'react';
import './App.css';
import RoutePage from 'router';
import { HashRouter as Router } from 'react-router-dom';

function App() {
    return (
        <div className="App full-h">
            <Router>
                <Suspense fallback={<div>加载中...</div>}>
                    <RoutePage />
                </Suspense>
            </Router>
        </div>
    );
}

export default App;
